#include "choselevescene.h"
#include<QPainter>

choselevescene::choselevescene(QWidget *parent) : QMainWindow(parent)
{
    //配置
    this->setFixedSize(400,688);
    //设置图标
    setWindowIcon(QIcon(":/2tb.jpg"));
    setWindowTitle("playing");

}
 void choselevescene::paintEvent(QPaintEvent*){
     QPainter painter(this);
     QPixmap pix;
     pix.load(":/bj2.jpg");
     painter.drawPixmap(0,0,this->width(),this->height(),pix);
 }
